#ifndef USPLITTEDCONTAINERWINDOW
#define USPLITTEDCONTAINERWINDOW
#include "stdafx.h"
#include "UContainerWindow.h"//needed for inheritance

class TSplittedContainerWindow: public TContainerWindow
{
private:
	bool Horizontal;
public:
	TSplittedContainerWindow(TRectangle Rect, TContainerWindow* parent, TWindowThemer *wt, std::string name);

	virtual void Draw( );
	virtual void MouseMove	(int X, int Y, int mstate);
	virtual void MouseDown	(int X, int Y, uint8 button);
	virtual void MouseUp	(int X, int Y, uint8 button);

	virtual void SetPos		(TRectangle Rect);
	virtual void RemoveChild(TDockable* Child);
	virtual void AddToPopUpMenu(TPopUpMenu* Menu);
	void ToggleDirection();
};
#endif
